home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Languguage OS 2
/
Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO
/
gnu
/
dejagnu.lha
/
dejagnu-1.0.1
/
expect
/
example
/
rogue.exp
< prev
next >
Wrap
Text File
|
1993-04-22
|
290b
|
18 lines
#!../expect -f
# Look for a GREAT game of rogue.
# Idea is that any game with a Strength of 18 is unusually good.
# Written by Don Libes - March, 1990
set timeout -1
while {1} {
spawn rogue
expect "Str: 18" break \
"Str: 16"
send "Q"
expect "quit?"
send "y"
close
wait
}
interact